package log4j;

import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;

public class Log4j_test {
	private static Logger logger = Logger.getLogger(Log4j_test.class);

	public static void main(String[] args) {
		
		PropertyConfigurator.configure("C:\\Users\\Administrator\\workspace\\Graduate\\log\\log4j.properties");
		logger.debug("This is debug message");	
		logger.info("This is debug message");	
		logger.error("This is debug message");
		
	}

}
